from urllib.parse import urljoin

urljoin = urljoin